INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../core)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/app)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/graphics)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/input)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../components/physics)

ADD_EXECUTABLE(TryRigidBodyExample logic.cpp main.cpp)

TARGET_LINK_LIBRARIES(TryRigidBodyExample TryCore)
TARGET_LINK_LIBRARIES(TryRigidBodyExample TryApp)
TARGET_LINK_LIBRARIES(TryRigidBodyExample TryGraphics)
TARGET_LINK_LIBRARIES(TryRigidBodyExample TryInput)
TARGET_LINK_LIBRARIES(TryRigidBodyExample TryPhysics)

FILE(COPY data DESTINATION .)
